package com.an.blog.admin.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.an.common.annotation.ExcelDictFormat;
import com.an.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 博客标签视图对象 blog_tag
 *
 * @author Ann
 * @date 2023-05-08
 */
@Data
@ExcelIgnoreUnannotated
public class BlogTagVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long tagId;

    /**
     * 标签名称
     */
    @ExcelProperty(value = "标签名称")
    private String tagName;

    /**
     * 状态（0正常 1禁用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=禁用")
    private String status;


}
